home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / share_inst.z / share_inst
Encoding:
Text File  |  2002-10-03  |  12.0 KB  |  265 lines

  1.  
  2.  
  3.  
  4. SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))                                                  SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      share_inst, client_inst, clone_client - diskless software installation
  10.      tools
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      sssshhhhaaaarrrreeee____iiiinnnnsssstttt ----rrrr _r_e_l_e_a_s_e [ ----dddd ]
  14.      cccclllliiiieeeennnntttt____iiiinnnnsssstttt ----rrrr _r_e_l_e_a_s_e ----cccc _c_l_a_s_s ----hhhh _h_o_s_t [ ----dddd ]
  15.      cccclllloooonnnneeee____cccclllliiiieeeennnntttt ----rrrr _r_e_l_e_a_s_e ----cccc _c_l_a_s_s ----ffff _h_o_s_t_f_i_l_e ----cccclllloooonnnneeee _c_l_o_n_e-_r_o_o_t
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _S_h_a_r_e__i_n_s_t , _c_l_i_e_n_t__i_n_s_t , and _c_l_o_n_e__c_l_i_e_n_t are tools that install the
  19.      system software for diskless workstations.
  20.  
  21.      _S_h_a_r_e__i_n_s_t installs the portion of the IRIX operating system that
  22.      diskless workstations can share.  This shared software is known as the
  23.      sssshhhhaaaarrrreeee ttttrrrreeeeeeee.... A share tree can contain only one IRIX rrrreeeelllleeeeaaaasssseeee;;;; a separate
  24.      share tree must be installed for each additional IRIX release that
  25.      clients require.
  26.  
  27.      _C_l_i_e_n_t__i_n_s_t installs the software that is used exclusively by an
  28.      individual diskless client.  This software, known as the cccclllliiiieeeennnntttt ttttrrrreeeeeeee,,,,
  29.      contains the non-shareable portions of an IRIX release, such as
  30.      configuration files and other private files that pertain only to a
  31.      particular client.
  32.  
  33.      _C_l_o_n_e__c_l_i_e_n_t allows you to install multiple client trees at once.  By
  34.      feeding it a hostfile, one can install many trees with no interaction.
  35.      Also, _c_l_o_n_e__r_o_o_t can be either a sssshhhhaaaarrrreeee ttttrrrreeeeeeee or a cccclllliiiieeeennnntttt ttttrrrreeeeeeee....
  36.  
  37.      For each IRIX release, _s_h_a_r_e__i_n_s_t needs a parameter file,
  38.      /_v_a_r/_b_o_o_t/_s_h_a_r_e._d_a_t, to supply the necessary configuration information.
  39.      _S_h_a_r_e._d_a_t is a template file: /var/boot contains a working copy of
  40.      _s_h_a_r_e._d_a_t for each IRIX release that the diskless server supports.  The
  41.      working copy of _s_h_a_r_e._d_a_t for a given share tree is assigned the name of
  42.      the IRIX release that the share tree contains.
  43.  
  44.      Since _s_h_a_r_e._d_a_t is a shell script that is invoked from _s_h_a_r_e__i_n_s_t, it
  45.      should always be executable.  When modifying the file, a good practice is
  46.      to change only the strings within the double quotes.
  47.  
  48.      _s_h_a_r_e._d_a_t contains the following variables:
  49.  
  50.      DDDDIIIISSSSKKKKLLLLEEEESSSSSSSS       directory prefix for the share root, client root, and swap
  51.                     root
  52.  
  53.      SSSSHHHHAAAARRRREEEE          directory name for share root
  54.  
  55.      SSSSEEEERRRRVVVVEEEERRRR____NNNNIIIISSSS     indicates whether NIS is used for name lookups during
  56.                     installation.  This option will not work with non-SGI NIS
  57.                     masters.  The bootparam information which gets set in the
  58.                     SGI NIS master takes time to propagate back to the
  59.                     diskless server.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))                                                  SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      The _c_l_i_e_n_t._d_a_t file performs that same function for _c_l_i_e_n_t__i_n_s_t as
  75.      _s_h_a_r_e._d_a_t performs for _s_h_a_r_e__i_n_s_t. _C_l_i_e_n_t._d_a_t contains parameters that
  76.      configure a specific class or workstation architecture.
  77.  
  78.      The _c_l_i_e_n_t._d_a_t file contains the following variables:
  79.  
  80.      CCCCLLLLRRRROOOOOOOOTTTT         directory name for client root
  81.  
  82.      SSSSWWWWAAAAPPPP           name of the directory where the swap file will be created.
  83.                     The swap directory must be on the same server as client
  84.                     root.
  85.  
  86.      SSSSWWWWAAAAPPPPSSSSIIIIZZZZEEEE       size of swap file.  The default is set to 20 MB.
  87.  
  88.      NNNNIIIISSSSDDDDOOOOMMMMAAAAIIIINNNN      NIS domain of client if the client's domain is different
  89.                     than the server's
  90.  
  91.      CCCCPPPPUUUUAAAARRRRCCCCHHHH        type of CPU architecture on clients in this class.  If the
  92.                     supporting sssshhhhaaaarrrreeee ttttrrrreeeeeeee is configured for this class of
  93.                     clients exclusively, this variable may be set in
  94.                     _s_h_a_r_e._d_a_t.
  95.  
  96.      CCCCPPPPUUUUBBBBOOOOAAAARRRRDDDD       type of cpu board on the clients in this class.  If the
  97.                     supporting sssshhhhaaaarrrreeee ttttrrrreeeeeeee is configured for this class of
  98.                     clients exclusively, this variable may be set in
  99.                     _s_h_a_r_e._d_a_t.
  100.  
  101.      GGGGFFFFXXXXBBBBOOOOAAAARRRRDDDD       type of graphics board on the clients in this class.  If
  102.                     the supporting sssshhhhaaaarrrreeee ttttrrrreeeeeeee is configured for this class of
  103.                     clients exclusively, this variable may be set in
  104.                     _s_h_a_r_e._d_a_t.
  105.  
  106.      MMMMAAAACCCCHHHH           type of machine tag assigned to this clients in this
  107.                     class.  If the supporting sssshhhhaaaarrrreeee ttttrrrreeeeeeee is configured for
  108.                     this class of clients exclusively, this variable may be
  109.                     set in _s_h_a_r_e._d_a_t.
  110.  
  111.      VVVVIIIIDDDDEEEEOOOO          type of video option on clients in this class.  If the
  112.                     supporting sssshhhhaaaarrrreeee ttttrrrreeeeeeee is configured for this class of
  113.                     clients exclusively, this variable may be set in
  114.                     _s_h_a_r_e._d_a_t.
  115.  
  116.      Both _s_h_a_r_e__i_n_s_t and _c_l_i_e_n_t__i_n_s_t are shell scripts that call _i_n_s_t(1M) to
  117.      perform the software installation.  They also modify files, like
  118.      /etc/fstab and /etc/hosts, in the resulting trees, so the diskless
  119.      workstation can be brought up correctly.  When _s_h_a_r_e__i_n_s_t creates the
  120.      sssshhhhaaaarrrreeee ttttrrrreeeeeeee,,,, it populates the tree with the shareable files.  By
  121.      definition, files whose pathnames begin with /usr, /sbin, /lib, and
  122.      /stand are shareable.  When _c_l_i_e_n_t__i_n_s_t creates the cccclllliiiieeeennnntttt ttttrrrreeeeeeee,,,, it makes
  123.      a swap file and modifies client boot parameters.  It also exports
  124.      necessary directories to the appropriate host.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))                                                  SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))
  137.  
  138.  
  139.  
  140. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  141.      ----rrrr _r_e_l_e_a_s_e
  142.                Using release _r_e_l_e_a_s_e. The file _r_e_l_e_a_s_e._d_a_t should exist in the
  143.                /var/boot directory.
  144.  
  145.      ----cccc _c_l_a_s_s  Using class _c_l_a_s_s. The file _c_l_a_s_s._d_a_t should exist in the
  146.                /var/boot directory.
  147.  
  148.      ----hhhh _h_o_s_t   Indicates the client tree is created for workstation named
  149.                _h_o_s_t. The _h_o_s_t must be a valid hostname, i.e. it should have
  150.                already been assigned an IP address.  This parameter does not
  151.                have any effect when creating the share tree.
  152.  
  153.      ----ffff _h_o_s_t_f_i_l_e
  154.                A file containing a list of valid hostnames
  155.  
  156.      ----cccclllloooonnnneeee _c_l_o_n_e-_r_o_o_t
  157.                Indicates that the cccclllliiiieeeennnntttt ttttrrrreeeeeeee is to be created by cloning an
  158.                existing cccclllliiiieeeennnntttt ttttrrrreeeeeeee or sssshhhhaaaarrrreeee ttttrrrreeeeeeee _c_l_o_n_e-_r_o_o_t is the full
  159.                pathname of the source client/share tree.
  160.  
  161.      ----dddd        To remove the diskless tree.  The default is to install the
  162.                tree.
  163.  
  164. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  165.      ////vvvvaaaarrrr////bbbbooooooootttt////sssshhhhaaaarrrreeee____iiiinnnnsssstttt ----rrrr 6666____5555
  166.  
  167.      will create a share tree for a specific release _6__5.  The
  168.      /_v_a_r/_b_o_o_t/_6__5._d_a_t file should exist before you run the command.
  169.  
  170.      ////vvvvaaaarrrr////bbbbooooooootttt////cccclllliiiieeeennnntttt____iiiinnnnsssstttt ----rrrr 6666____5555 ----cccc RRRRAAAACCCCEEEERRRR ----hhhh ggggoooollllddddffffiiiinnnnggggeeeerrrr
  171.  
  172.      will create a client tree for class _R_A_C_E_R and machine _g_o_l_d_f_i_n_g_e_r.  The
  173.      /_v_a_r/_b_o_o_t/_R_A_C_E_R._d_a_t file should exist before you run the command.
  174.  
  175. NNNNOOOOTTTTEEEE
  176.      Please see the _D_i_s_k_l_e_s_s _S_y_s_t_e_m _A_d_m_i_n_i_s_t_r_a_t_i_o_n _G_u_i_d_e for more details.
  177.      This man page was not intended to give enough information to perform a
  178.      complete install.  The _N_F_S _r_e_l_e_a_s_e _n_o_t_e_s contain additional installation
  179.      information not included in the guide.
  180.  
  181. FFFFIIIILLLLEEEESSSS
  182.      /var/boot/share_inst          Share tree install script
  183.      /var/boot/share_setup         Script to create share tree config files
  184.      /var/boot/share.dat           Template for release.dat
  185.      /var/boot/client_inst         Client tree install script
  186.      /var/boot/client_setup        Script to create client tree config files
  187.      /var/boot/client.dat          Template for class.dat
  188.      /var/boot/clone_client        Tree cloning script
  189.      /var/boot/verify              Script to check *.dat files
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))                                                  SSSSHHHHAAAARRRREEEE____IIIINNNNSSSSTTTT((((1111MMMM))))
  203.  
  204.  
  205.  
  206. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  207.      inst(1M), share_setup(1M), yp_bootparam(1M)
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.